From: Gianluca Guida <gianluca.guida@eu.citrix.com>
Signed-off-by: Keir Fraser <keir.fraser@citrix.com>
#endif /* (SHADOW_OPTIMIZATIONS & SHOPT_VIRTUAL_TLB) */
shadow_lock(d);
- shadow_audit_tables(v);
- sh_audit_gw(v, &gw);
if ( gw_remove_write_accesses(v, va, &gw) )
{
return EXCRET_fault_fixed;
}
+ shadow_audit_tables(v);
+ sh_audit_gw(v, &gw);
+
/* Make sure there is enough free shadow memory to build a chain of
* shadow tables. (We never allocate a top-level shadow on this path,
* only a 32b l1, pae l1, or 64b l3+2+1. Note that while